package com.example.test003.service.impl;


import com.example.test003.mapper.WeatherOneDayMapper;
import com.example.test003.pojo.WeatherOneDay;
import com.example.test003.service.WeatherOneDayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :xjl
 * @date : 2022/11/14 16:44
 */
@Service
public class WeatherOneDayServiceImpl implements WeatherOneDayService {

    @Autowired
    private WeatherOneDayMapper weatherOneDayMapper;

    @Override
    public List<WeatherOneDay> queryAllWeathersOneDay() {
        List<WeatherOneDay> weathers=weatherOneDayMapper.queryAllWeathersOneDay();
        return weathers;
    }

    @Override
    public List<WeatherOneDay> queryAllWeathersOneDayByCity(String cityname) {
        List<WeatherOneDay> weathers=weatherOneDayMapper.queryAllWeathersOneDayByCity(cityname);
        return weathers;
    }

//    @Override
//    public List<WeatherOneDay> queryWeatherPukou() {
//        List<WeatherOneDay> weathers=weatherOneDayMapper.queryWeatherPukou();
//        return weathers;
//    }
//
//    @Override
//    public List<WeatherOneDay> queryWeatherTianchang() {
//        List<WeatherOneDay> weathers=weatherOneDayMapper.queryWeatherTianchang();
//        return weathers;
//    }
//
//    @Override
//    public List<WeatherOneDay> queryWeatherLuhe() {
//        List<WeatherOneDay> weathers=weatherOneDayMapper.queryWeatherLuhe();
//        return weathers;
//    }
//
//    @Override
//    public List<WeatherOneDay> queryWeatherYuhuatai() {
//        List<WeatherOneDay> weathers=weatherOneDayMapper.queryWeatherYuhuatai();
//        return weathers;
//    }
//
//    @Override
//    public WeatherOneDay queryPukouNow(String nowTime) {
//        WeatherOneDay weatherOneDay=weatherOneDayMapper.queryPukouNow(nowTime);
//        return weatherOneDay;
//    }
//
//    @Override
//    public WeatherOneDay queryLuheNow(String nowTime) {
//        WeatherOneDay weatherOneDay=weatherOneDayMapper.queryLuheNow(nowTime);
//        return weatherOneDay;
//    }
//
//    @Override
//    public WeatherOneDay queryYuhuataiNow(String nowTime) {
//        WeatherOneDay weatherOneDay=weatherOneDayMapper.queryYuhuataiNow(nowTime);
//        return weatherOneDay;
//    }
//
//    @Override
//    public WeatherOneDay queryTianchangNow(String nowTime) {
//        WeatherOneDay weatherOneDay=weatherOneDayMapper.queryTianchangNow(nowTime);
//        return weatherOneDay;
//    }
//
//    @Override
//    public List<WeatherOneDay> queryKJYWeatherById(int universityid) {
//        List<WeatherOneDay> weathers=weatherOneDayMapper.queryKJYWeatherById(universityid);
//        return weathers;
//    }
//
//    @Override
//    public List<Kejiyuan> test() {
//        List<Kejiyuan> kejiyuans=weatherOneDayMapper.test();
//        return kejiyuans;
//    }

}
